﻿using System;

namespace ObjectModel
{
    [Table(Name = "cities")]
    public class City : BaseEntity<City>
    {
        [Field(Name = "name")]
        public String Name { get; set; }

        [Field(Name = "description")]
        public String Description { get; set; }

        [Field(IsOtherTable=false, Name = "id_state")]
        public State State { get; set; }
    }
}
